home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Education / Weights & Measures / card_7196.txt < prev    next >
Text File  |  1991-10-27  |  10KB  |  333 lines

  1. -- card: 7196 from stack: in
  2. -- bmap block id: 5485
  3. -- flags: 4000
  4. -- background id: 2785
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on calculate
  8.   global x
  9.   set lockscreen to true
  10.   put .4536 into c
  11.   put x into card field 1
  12.   put x/1000 into card field 2
  13.   put x*1000 into card field 3
  14.   put x into card field 4
  15.   put x into card field 5
  16.   put x*(2.54^3)/453.6 into card field 6
  17.   put x*((12*2.54)^3)/453.6 into card field 7
  18.   set lockscreen to false
  19. end calculate
  20.  
  21.  
  22. -- part 1 (button)
  23. -- low flags: 00
  24. -- high flags: A002
  25. -- rect: left=57 top=84 right=106 bottom=165
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: gr/cm3
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   global x
  37.   ask "Enter Value"
  38.   put it into x
  39.   calculate
  40. end mouseUp
  41.  
  42.  
  43.  
  44. -- part 2 (field)
  45. -- low flags: 01
  46. -- high flags: 0002
  47. -- rect: left=57 top=105 right=124 bottom=165
  48. -- title width / last selected line: 0
  49. -- icon id / first selected line: 0 / 0
  50. -- text alignment: 1
  51. -- font id: 0
  52. -- text size: 12
  53. -- style flags: 0
  54. -- line height: 16
  55. -- part name: 
  56.  
  57.  
  58. -- part 3 (button)
  59. -- low flags: 00
  60. -- high flags: A002
  61. -- rect: left=57 top=135 right=157 bottom=165
  62. -- title width / last selected line: 0
  63. -- icon id / first selected line: 0 / 0
  64. -- text alignment: 1
  65. -- font id: 0
  66. -- text size: 12
  67. -- style flags: 0
  68. -- line height: 16
  69. -- part name: kg/cm3
  70. ----- HyperTalk script -----
  71. on mouseUp
  72.   global x
  73.   ask "Enter Value"
  74.   put it *1000 into x
  75.   calculate
  76. end mouseUp
  77.  
  78.  
  79.  
  80. -- part 5 (field)
  81. -- low flags: 01
  82. -- high flags: 0002
  83. -- rect: left=57 top=156 right=175 bottom=165
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: 
  92.  
  93.  
  94. -- part 26 (field)
  95. -- low flags: 01
  96. -- high flags: 0002
  97. -- rect: left=56 top=206 right=225 bottom=164
  98. -- title width / last selected line: 0
  99. -- icon id / first selected line: 0 / 0
  100. -- text alignment: 1
  101. -- font id: 0
  102. -- text size: 12
  103. -- style flags: 0
  104. -- line height: 16
  105. -- part name: 
  106.  
  107.  
  108. -- part 25 (button)
  109. -- low flags: 00
  110. -- high flags: A002
  111. -- rect: left=56 top=185 right=207 bottom=164
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 0 / 0
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: kg/m3
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   global x
  123.   ask "Enter Value"
  124.   put it /1000 into x
  125.   calculate
  126. end mouseUp
  127.  
  128.  
  129.  
  130. -- part 31 (button)
  131. -- low flags: 00
  132. -- high flags: A002
  133. -- rect: left=57 top=235 right=257 bottom=165
  134. -- title width / last selected line: 0
  135. -- icon id / first selected line: 0 / 0
  136. -- text alignment: 1
  137. -- font id: 0
  138. -- text size: 12
  139. -- style flags: 0
  140. -- line height: 16
  141. -- part name: Kg/lit
  142. ----- HyperTalk script -----
  143. on mouseUp
  144.   global x
  145.   ask "Enter Value"
  146.   put it into x
  147.   calculate
  148. end mouseUp
  149.  
  150.  
  151.  
  152. -- part 4 (button)
  153. -- low flags: 00
  154. -- high flags: A002
  155. -- rect: left=46 top=290 right=312 bottom=176
  156. -- title width / last selected line: 0
  157. -- icon id / first selected line: 0 / 0
  158. -- text alignment: 1
  159. -- font id: 0
  160. -- text size: 12
  161. -- style flags: 0
  162. -- line height: 16
  163. -- part name: Tonne (metric)/m3
  164. ----- HyperTalk script -----
  165. on mouseUp
  166.   global x
  167.   ask "Enter Value"
  168.   put it  into x
  169.   calculate
  170. end mouseUp
  171.  
  172.  
  173.  
  174. -- part 32 (field)
  175. -- low flags: 01
  176. -- high flags: 0002
  177. -- rect: left=57 top=256 right=275 bottom=165
  178. -- title width / last selected line: 0
  179. -- icon id / first selected line: 0 / 0
  180. -- text alignment: 1
  181. -- font id: 0
  182. -- text size: 12
  183. -- style flags: 0
  184. -- line height: 16
  185. -- part name: 
  186.  
  187.  
  188. -- part 6 (field)
  189. -- low flags: 01
  190. -- high flags: 0002
  191. -- rect: left=46 top=311 right=330 bottom=176
  192. -- title width / last selected line: 0
  193. -- icon id / first selected line: 0 / 0
  194. -- text alignment: 1
  195. -- font id: 0
  196. -- text size: 12
  197. -- style flags: 0
  198. -- line height: 16
  199. -- part name: 
  200.  
  201.  
  202. -- part 10 (button)
  203. -- low flags: 00
  204. -- high flags: A002
  205. -- rect: left=252 top=84 right=106 bottom=360
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 0 / 0
  208. -- text alignment: 1
  209. -- font id: 0
  210. -- text size: 12
  211. -- style flags: 0
  212. -- line height: 16
  213. -- part name: lb/in3
  214. ----- HyperTalk script -----
  215. on mouseUp
  216.   global x
  217.   ask "Enter Value"
  218.   put it*453.6/2.54^3 into x
  219.   calculate
  220. end mouseUp
  221.  
  222.  
  223.  
  224. -- part 12 (field)
  225. -- low flags: 01
  226. -- high flags: 0002
  227. -- rect: left=252 top=105 right=124 bottom=360
  228. -- title width / last selected line: 0
  229. -- icon id / first selected line: 0 / 0
  230. -- text alignment: 1
  231. -- font id: 0
  232. -- text size: 12
  233. -- style flags: 0
  234. -- line height: 16
  235. -- part name: 
  236.  
  237.  
  238. -- part 13 (field)
  239. -- low flags: 01
  240. -- high flags: 0002
  241. -- rect: left=250 top=157 right=176 bottom=358
  242. -- title width / last selected line: 0
  243. -- icon id / first selected line: 0 / 0
  244. -- text alignment: 1
  245. -- font id: 0
  246. -- text size: 12
  247. -- style flags: 0
  248. -- line height: 16
  249. -- part name: 
  250.  
  251.  
  252. -- part 15 (button)
  253. -- low flags: 00
  254. -- high flags: A002
  255. -- rect: left=250 top=136 right=158 bottom=358
  256. -- title width / last selected line: 0
  257. -- icon id / first selected line: 0 / 0
  258. -- text alignment: 1
  259. -- font id: 0
  260. -- text size: 12
  261. -- style flags: 0
  262. -- line height: 16
  263. -- part name: lb/ft3
  264. ----- HyperTalk script -----
  265. on mouseUp
  266.   global x
  267.   ask "Enter Value"
  268.   put it*453.6/(2.54*12)^3 into x
  269.   calculate
  270. end mouseUp
  271.  
  272.  
  273.  
  274. -- part 33 (button)
  275. -- low flags: 00
  276. -- high flags: A003
  277. -- rect: left=348 top=307 right=337 bottom=510
  278. -- title width / last selected line: 0
  279. -- icon id / first selected line: 0 / 0
  280. -- text alignment: 1
  281. -- font id: 0
  282. -- text size: 12
  283. -- style flags: 0
  284. -- line height: 16
  285. -- part name: Density of Materials
  286. ----- HyperTalk script -----
  287. on mouseUp
  288.   go card id 29347
  289. end mouseUp
  290.  
  291.  
  292.  
  293. -- part contents for card part 2
  294. ----- text -----
  295. 27.68037
  296.  
  297. -- part contents for card part 5
  298. ----- text -----
  299. 0.02768
  300.  
  301. -- part contents for card part 6
  302. ----- text -----
  303. 27.68037
  304.  
  305. -- part contents for card part 12
  306. ----- text -----
  307. 1
  308.  
  309. -- part contents for card part 13
  310. ----- text -----
  311. 1728
  312.  
  313. -- part contents for card part 26
  314. ----- text -----
  315. 27680.370321
  316.  
  317. -- part contents for card part 32
  318. ----- text -----
  319. 27.68037
  320.  
  321. -- part contents for background part 5
  322. ----- text -----
  323. 1 --,gram per cubic centimeter,grams per cubic centimeter,gram per cu centimeter,grams per cu centimeter,gram per cubic cm,grams percubic cm,gram per cu cm,grams per cu cm,gm per cubic centimeter,gm per cu centimeter,gm per cubic cm,gm per cu cm,gram/cubic centimeter,grams/cubic centimeter,gram/cu centimeter,grams/cu centimeter,gram/cubic cm,grams/cubic cm,gram/cu cm,grams/cu cm,gm/cubic centimeter,gm/cu centimeter,gm/cubic cm,gm/cu cm,g/cu cm,gm/cm3,g/cm3,g/ccm,gm/ccm
  324. 2 --,kilogram per cubic centimeter,kilograms per cubic centimeter,kilogram per cu centimeter,kilograms per cu centimeter,kilogram per cubic cm,kilograms percubic cm,kilogram per cu cm,kilograms per cu cm,kg per cubic centimeter,kg per cu centimeter,kg per cubic cm,kg per cu cm,kilogram/cubic centimeter,kilograms/cubic centimeter,kilogram/cu centimeter,kilograms/cu centimeter,kilogram/cubic cm,kilograms/cubic cm,kilogram/cu cm,kilograms/cu cm,kg/cubic centimeter,kg/cu centimeter,kg/cubic cm,kg/cu cm,k/cu cm,kg/cm3,k/cm3,k/ccm,kg/ccm,klg/m3,klg/ccm,
  325. 3 --,kilogram per cubic meter,kilograms per cubic meter,kilogram per cu meter,kilograms per cu meter,kilogram per cubic m,kilograms per cubic m,kilogram per cu m,kilograms per cu m,kg per cubic meter,kg per cu meter,kg per cubic m,kg per cu m,kilogram/cubic meter,kilograms/cubic meter,kilogram/cu meter,kilograms/cu meter,kilogram/cubic m,kilograms/cubic m,kilogram/cu m,kilograms/cu m,kg/cubic meter,kg/cu meter,kg/cubic m,kg/cu m,k/cu m,kg/m3,k/m3,k/cm,kg/cm,klg/m3,klg/cm,k/mc,kg/mc,klg/mc,
  326. 4 --,kilograms per liter,kilogram per liter,kilograms/liter,kilogram/liter,kg per liter,kg per liter,kg/liter,kg/liter,kilograms per lit,kilogram per lit,kilograms/litr,kilogram/lit,kg per lit,kg per lit,kg per liter,kg/liter,kg per liter,kg per liter,kg/liter,kg/liter,kg per lit,kg/lit,kg per lit,kg per lit,kg/l,k/l,klg/l,klg/liter,k/liter,k/lit,klg/lit,
  327. 5 --,metric tons per cubic meter,metric ton per cubic meter,tonnnes per cubic meter,tonne per cubic meter,metric tons/cubic meter,metric ton/cubic meter,tonnnes/cubic meter,tonne/cubic meter,metric tons per cu meter,metric ton per cu meter,tonnnes per cu meter,tonne per cu meter,metric tons/cu meter,metric ton/cu meter,tonnnes/cu meter,tonne/cu meter,metric tons per cubic met,metric ton per cubic met,tonnnes per cubic mer,tonne per cubic met,metric tons/cubic met,metric ton/cubic met,tonnnes/cubic met,tonne/cubic met,metric tons per cu met,metric ton per cu met,tonnnes per cu met,tonne per cu met,metric tons/cu met,metric ton/cu met,tonnnes/cu met,tonne/cu met,m tons/m3,m ton/m3,tonne/m3,tonnes/m3,m tons/mc,m ton/mc,tonne/mc,tonnes/mc,m tons/cm,m ton/cm,tonne/cm,tonnes/cm,
  328. 6 --,pound per cubic inch,pounds per cubic inch,pound/cubic inch,pounds/cubic inch,pound per cu inch,pounds per cu inch,pound/cu inch,pounds/cu inch,pound per cubic in,pounds per cubic in,pound/cubic in,pounds/cubic in,pound per cu in,pounds per cu in,pound/cu in,pounds/cu in,lb per cubic inch,lbs per cubic inch,lb/cubic inch,lbs/cubic inch,lb per cu inch,lbs per cu inch,lb/cu inch,lbs/cu inch,lb per cubic in,lbs per cubic in,lb/cubic in,lbs/cubic in,lb per cu in,lbs per cu in,lb/cu in,lbs/cu in,lb/in3,lb/cui,lb/icu,pci,lbs/in3,lbs/cui,lbs/icu,pci,#/in3,
  329. 7 --,pound per cubic foot,pounds per cubic foot,pound/cubic foot,pounds/cubic foot,pound per cu foot,pounds per cu foot,pound/cu foot,pounds/cu foot,pound per cubic ft,pounds per cubic ft,pound/cubic ft,pounds/cubic ft,pound per cu ft,pounds per cu ft,pound/cu ft,pounds/cu ft,lb per cubic foot,lbs per cubic foot,lb/cubic foot,lbs/cubic foot,lb per cu foot,lbs per cu foot,lb/cu foot,lbs/cu foot,lb per cubic ft,lbs per cubic ft,lb/cubic ft,lbs/cubic ft,lb per cu ft,lbs per cu ft,lb/cu ft,lbs/cu ft,lb/ft3,lb/cf,lb/cft,lb/fcu,pci,lbs/ft3,lbs/cuf,lbs/fcu,pcf,#/ft3,lb/f3,lbs/f3,lb/cf,lbs/cf,#/f3,#/cuf,
  330.  
  331.  
  332.  
  333.